package cn.maihe.elg.operation.supports.bank.dto;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.math.BigDecimal;

@Data
@XmlRootElement(name = "stream")
@XmlAccessorType(XmlAccessType.FIELD)
public class CiticCardDetailReqDTO {

    /**
     * 请求代码：DLCARDTL
     */
    @XmlElement(name = "action")
    private String action = "DLCARDTL";

    /**
     * 登录名 char(30)
     */
    @XmlElement(name = "userName")
    private String userName;

    /**
     * 信e卡卡号varchar(19)
     */
    @XmlElement(name = "setlcardNum")
    private String setlcardNum;

    /**
     * 主体账号 char(19)
     */
    @XmlElement(name = "accountNo")
    private String accountNo;

    /**
     * 最小金额 decimal(17,2) 可空
     */
    @XmlElement(name = "lowAmount")
    private BigDecimal lowAmount;

    /**
     * 最大金额 decimal(17,2) 可空
     */
    @XmlElement(name = "upAmount")
    private BigDecimal upAmount;

    /**
     * 起始日期char(8) 格式YYYYMMDD
     */
    @XmlElement(name = "startDate")
    private String startDate;

    /**
     * 截止日期char(8) 格式YYYYMMDD
     */
    @XmlElement(name = "endDate")
    private String endDate;

    /**
     * 起始记录号 char(4)
     */
    @XmlElement(name = "startRecord")
    private String startRecord;

    /**
     * 请求记录条数 char(2)
     */
    @XmlElement(name = "pageNumber")
    private String pageNumber;
}